package com.yangyouqi.posthorse.admin.from;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

@Data
public class RegisterFrom {
    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "昵称不能为空")
    private String nickname;

    @NotEmpty(message="密码不能为空")
    private String password;


}
